package com.moji.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 数据统计表
 * </p>
 *
 * @author ccl
 * @since 2024-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MjStatistics对象", description="数据统计表")
public class MjStatistics extends Model<MjStatistics> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "按钮编码")
    private String buttonCode;

    @ApiModelProperty(value = "按钮名称")
    private String buttonName;

    @ApiModelProperty(value = "类型1-点击量 2-访问量3-停留时长")
    private Integer type;

    @ApiModelProperty(value = "1-登录 2-立即注册 3-首页4-导航栏菜单5-解决方案6-产品7-API8-关于9-支持与帮助10-关于我们")
    private String menuType;

    @ApiModelProperty(value = "标题id")
    private String titleId;

    @ApiModelProperty(value = "标题名称")
    private String titleName;

    @ApiModelProperty(value = "点击方式1-验证码登录 2-账号登录")
    private Integer loginWay;

    @ApiModelProperty(value = "点击量")
    private Integer hits;

    @ApiModelProperty(value = "访问量")
    private Integer visits;

    @ApiModelProperty(value = "访客")
    private String visitPerson;

    @ApiModelProperty(value = "年")
    private String nian;

    @ApiModelProperty(value = "停留时常")
    private Double stopTime;

    @ApiModelProperty(value = "年月")
    private String nianMonth;

    @ApiModelProperty(value = "年月日")
    private String nianMonthDay;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
